package site.taote.sboot.modules.sys.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author taote
 * @ClassName TUser
 * @Description 用户信息
 * @date 2018/4/15 21:07
 * @Version 1.0
 **/

@ApiModel(value="TUser", description="用户描述")
public class TUser implements java.io.Serializable {

    @ApiModelProperty(value="id编号",name="id")
    private Long id;
    @ApiModelProperty(value="用户名",name="userName")
    private String userName;
    @ApiModelProperty(value="地址",name="address")
    private String address;
    @ApiModelProperty(value="性别，0 女 1 男",name="gender")
    private Integer gender;
    @ApiModelProperty(value="创建时间",name="gmtCreate")
    private Date gmtCreate;
    @ApiModelProperty(value="修改时间",name="gmtModified")
    private Date gmtModified;
    @ApiModelProperty(value="是否删除，0 未删除 1 已删除",name="isDeleted")
    private boolean isDeleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(boolean deleted) {
        isDeleted = deleted;
    }
}
